Skip to content

ci: suppress dependabot updates for test fixture manifests#422

Merged
ruromero merged 1 commit into
guacsec:mainfrom
ruromero:fix/dependabot-suppress-test-fixture-security-updates
Apr 16, 2026
Merged

ci: suppress dependabot updates for test fixture manifests#422
ruromero merged 1 commit into
guacsec:mainfrom
ruromero:fix/dependabot-suppress-test-fixture-security-updates

Conversation

@ruromero

Copy link
Copy Markdown
Collaborator

Summary

  • Problem: exclude-paths in dependabot.yml only applies to version updates, not security updates. This caused 8+ noisy PRs from dependabot trying to bump intentionally-pinned vulnerable deps in test fixture manifests under src/test/resources/tst_manifests/ and src/test/resources/msc/.

  • Solution: Add dedicated dependabot entries per ecosystem that target the test fixture directories with ignore: [{dependency-name: "*"}] to suppress both version and security update PRs (ref). The ignore option supports security updates unlike exclude-paths.

Changes

Ecosystem Change
maven (production) Unchanged
maven (test fixtures) New entry with directories targeting tst_manifests/maven/** + it/maven/** + ignore: *
npm (test fixtures) Replaced directory: "/" + exclude-paths with directories targeting all JS test fixture dirs + ignore: *
pip Replaced with targeted directories pointing to pip/** + it/pypi/** + ignore: *
gomod Replaced with targeted directories pointing to golang/**, it/golang/**, msc/golang/** + ignore: *
gradle Replaced with targeted directories pointing to gradle-groovy/**, gradle-kotlin/** + it/ equivalents + ignore: *
cargo Replaced with targeted directories pointing to cargo/** + ignore: *

Mirrors guacsec/trustify-da-javascript-client#477.

Test plan

  • Verify dependabot stops creating PRs for test fixture manifests (check after next scan cycle)
  • Verify production maven security/version updates still work
  • Close existing 8 test fixture dependabot PRs after confirming

🤖 Generated with Claude Code

exclude-paths only applies to version updates, not security updates,
causing noisy PRs for intentionally-pinned vulnerable deps in test
fixtures. Replace with targeted directories + ignore: {dependency-name: "*"}
to suppress both version and security update PRs.

Mirrors guacsec/trustify-da-javascript-client#477.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@ruromero
ruromero requested a review from Strum355 April 16, 2026 10:05
@ruromero
ruromero merged commit 3c526e7 into guacsec:main Apr 16, 2026
38 checks passed
@ruromero
ruromero deleted the fix/dependabot-suppress-test-fixture-security-updates branch April 16, 2026 10:12
ruromero added a commit to ruromero/trustify-da-java-client that referenced this pull request Apr 21, 2026
Per-directory entries with /** globs don't reliably suppress security
updates (PRs guacsec#424, guacsec#426, guacsec#427 appeared after guacsec#422 was merged). Since
this repo has no production npm/pip/go/gradle/cargo dependencies, add
root-level entries with ignore-all + open-pull-requests-limit: 0 as a
catch-all for security updates that bypass per-directory matching.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
ruromero added a commit that referenced this pull request Apr 22, 2026
## Summary
- Add `/src/test/resources/msc/python` to the `pip` ecosystem exclusion
in `.github/dependabot.yml`
- This directory was missed in #422, allowing security update PR #425
(mako bump) to be created for an intentionally-pinned test fixture

## Test plan
- [ ] Verify no new dependabot PRs are created for `msc/python` after
the next scan cycle

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants